<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <title>格式化标签</title>
</head>
<body>
<h1>生日：<fmt:formatDate value="${birthday}" pattern="yyyy年MM月dd日"/></h1>
<h1>生日：<fmt:formatDate value="${birthday}" pattern="yyyy年MM月dd日 hh时mm分ss秒"/></h1>
<h1>工资：<fmt:formatNumber value="${salary}" currencyCode="zh"/></h1>
</body>
</html>
